using System;

using Atomic.Structures;

namespace Atomic.Thermodynamics
{
	[Serializable]
	public class ChemicalPotentialComponent
	{
		public ChemicalPotentialComponent(Atom atom, double value)
		{
			if (atom == null)
			{
				throw new ArgumentNullException();
			}

			Atom = atom;
			Value = value;
		}

		public Atom Atom
		{
			get;
			private set;
		}

		public double Value
		{
			get;
			private set;
		}
	}
}
